<div [formGroup]="group" [ngClass]="getClass('grid', 'control')">

    <p-checkbox #pCheckbox
                binary="true"
                [formControlName]="model.id"
                [id]="id"
                [label]="model.label || undefined"
                [name]="model.name"
                [ngClass]="getClass('element', 'control')"
                [tabindex]="model.tabIndex"
                [value]="model.value"
                (onChange)="onChange($event)"></p-checkbox>

</div>
